<?php
/**
 * Description of Rewrite
 *
 * @author josema
 */
class Rewrite {
    /**
     * Informacion sobre los rewrites de lass interfaces.
     * Los indices del array son:
     * path: Path from Path.php
     * interface: Class name for the UserInterface
     * @var array
     */
    static private $interface_info = array (
        'transactions'  =>  array('path' => 'transaction', 'interface' => 'TransactionUI'),
        'user'  =>  array('path' => 'users', 'interface' => 'UsersUI'),
        'accounts'  =>  array('path' => 'accounts', 'interface' => 'AccountsUI')
    );


    static public function getInterface($name){
        return self::$interface_info[$name];
    }
}
?>
